package com.huiquan.management.constant;

import com.huiquan.foundation.constant.ModuleID;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @Description:数据迁移的code
 * @author rocky xu
 *
 */
public enum MigrateCode {

	/** 主诉OS标注结果. */
	ZS_NEW_TRAIN("11_001", "主诉OS标注结果", 2, "/home/da/pattern_recognition/crf/new_train", "TAB"),

	/** 主诉BME标注结果. */
	ZS_NEW_TRAIN_BME("11_002", "主诉BME标注结果", 2, "/home/da/pattern_recognition/crf/new_train_bme", "TAB"),

	/** 主诉OS标注结果-第二批. */
	ZS_SECOND_NEW_TRAIN("11_003", "主诉OS标注结果-第二批", 2, "/home/da/pattern_recognition/crf/new_train_2", "TAB"),

	/** 主诉BME标注结果-第二批. */
	ZS_SECOND_NEW_TRAIN_BME("11_004", "主诉BME标注结果-第二批", 2, "/home/da/pattern_recognition/crf/new_train_bme_2", "TAB"),

	/** 现病史OS标注结果(未分类). */
	XBS_NEW_TRAIN_UNCLASSIFIED("12_001", "现病史OS标注结果(未分类)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_unclassified", "TAB"),

	/** 现病史BME标注结果(未分类). */
	XBS_NEW_TRAIN_BME_UNCLASSIFIED("12_002", "现病史BME标注结果(未分类)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_bme_unclassified", "TAB"),

	/** 现病史OS标注结果(家族史). */
	XBS_NEW_TRAIN_FAMILY_HISTORY("12_003", "现病史OS标注结果(家族史)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_family_history", "TAB"),

	/** 现病史BME标注结果(家族史). */
	XBS_NEW_TRAIN_BME_FAMILY_HISTORY("12_004", "现病史BME标注结果(家族史)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_bme_family_history", "TAB"),

	/** 现病史OS标注结果(个人史). */
	XBS_NEW_TRAIN_PERSONAL_HISTORY("12_005", "现病史OS标注结果(个人史)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_personal_history", "TAB"),

	/** 现病史BME标注结果(个人史). */
	XBS_NEW_TRAIN_BME_PERSONAL_HISTORY("12_006", "现病史BME标注结果(个人史)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_bme_personal_history", "TAB"),

	/** 现病史OS标注结果(小既往史). */
	XBS_NEW_TRAIN_SMALL_PAST_HISTORY("12_007", "现病史OS标注结果(小既往史)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_small_past_history", "TAB"),

	/** 现病史BME标注结果(小既往史). */
	XBS_NEW_TRAIN_BME_SMALL_PAST_HISTORY("12_008", "现病史BME标注结果(小既往史)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_bme_small_past_history", "TAB"),

	/** 现病史OS标注结果(体格检查). */
	XBS_NEW_TRAIN_PHYSICAL_CHECK("12_009", "现病史OS标注结果(体格检查)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_physical_check", "TAB"),

	/** 现病史BME标注结果(体格检查). */
	XBS_NEW_TRAIN_BME_PHYSICAL_CHECK("12_010", "现病史BME标注结果(体格检查)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_bme_physical_check", "TAB"),

	/** 现病史OS标注结果(器械检查). */
	XBS_NEW_TRAIN_IMAGEOLOGY_INFO("12_011", "现病史OS标注结果(器械检查)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_imageology_info", "TAB"),

	/** 现病史BME标注结果(器械检查). */
	XBS_NEW_TRAIN_BME_IMAGEOLOGY_INFO("12_012", "现病史BME标注结果(器械检查)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_bme_imageology_info", "TAB"),

	/** 现病史OS标注结果(治疗). */
	XBS_NEW_TRAIN_TREATMENT("12_013", "现病史OS标注结果(治疗)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_operation_his", "TAB"),

	/** 现病史BME标注结果(治疗). */
	XBS_NEW_TRAIN_BME_TREATMENT("12_014", "现病史BME标注结果(治疗)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_bme_operation_his", "TAB"),

	/** 现病史OS标注结果(医嘱信息). */
	XBS_NEW_TRAIN_DOCTOR_ADVICE_INFORMATION("12_015", "现病史OS标注结果(医嘱信息)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_doctor_advice_information", "TAB"),

	/** 现病史BME标注结果(医嘱信息). */
	XBS_NEW_TRAIN_BME_DOCTOR_ADVICE_INFORMATION("12_016", "现病史BME标注结果(医嘱信息)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_bme_doctor_advice_information", "TAB"),

	/** 现病史OS标注结果(实验室检查). */
	XBS_NEW_TRAIN_LABORATORY_EXAMINATION("12_017", "现病史OS标注结果(实验室检查)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_laboratory_examination", "TAB"),

	/** 现病史BME标注结果(实验室检查). */
	XBS_NEW_TRAIN_BME_LABORATORY_EXAMINATION("12_018", "现病史BME标注结果(实验室检查)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_bme_laboratory_examination", "TAB"),

	/** 现病史OS标注结果(辅助检查). */
	XBS_NEW_TRAIN_AUXILIARY_EXAMINATION("12_019", "现病史OS标注结果(辅助检查)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_auxiliary_examination", "TAB"),

	/** 现病史BME标注结果(辅助检查). */
	XBS_NEW_TRAIN_BME_AUXILIARY_EXAMINATION("12_020", "现病史BME标注结果(辅助检查)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_bme_auxiliary_examination", "TAB"),

	/** 现病史OS标注结果(症状描述). */
	XBS_NEW_TRAIN_SYMPTOMS_DESCRIBED("12_021", "现病史OS标注结果(症状描述)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_symptoms_described", "TAB"),

	/** 现病史BME标注结果(症状描述). */
	XBS_NEW_TRAIN_BME_SYMPTOMS_DESCRIBED("12_022", "现病史BME标注结果(症状描述)", 2, "/home/da/pattern_recognition/crf/xbs_new_train_bme_symptoms_described", "TAB"),

	/** 医学影像OS标注结果. */
	CT_NEW_TRAIN("13_001", "医学影像OS标注结果", 2, "/home/da/pattern_recognition/ct_crf/new_train_ct", "TAB"),

	/** 医学影像BME标注结果. */
	CT_NEW_TRAIN_BME("13_002", "医学影像BME标注结果", 2, "/home/da/pattern_recognition/ct_crf/new_train_ct_bme", "TAB"),

	/** 大白话OS标注结果. */
	SLANG_NEW_TRAIN("28_001", "大白话OS标注结果", 2, "/home/da/pattern_recognition/crf/qa_new_train", "TAB"),

	/** 元素正误、替换、大白话、性别年龄黑名单、t量化. */
	ELEMENT_CHECK("21_001", "元素正误、替换、大白话、性别年龄黑名单、t量化", 1, "bas_vocab_minor", "CHAR1"),

	/** 元素同义词. */
	ELEMENT_SYNONYM("21_002", "元素同义词", 2, "/home/da/pattern_recognition/dict/synonym/", ""),

	/** 元素拆分. */
	ELEMENT_SPLIT("21_003", "元素拆分", 1, "bas_vocab_element_change_split", "CHAR1"),

	/** 元素性别年龄黑名单. */
	ELEMENT_SEX_AGE_BLACKLIST("21_004", "元素性别年龄黑名单", 1, "t_xl_element_sex_age", "TAB"),

	/** 原因词分类. */
	ELEMENT_REASON_CLASS("21_005", "原因词分类", 1, "hive_element_reason_class", "CHAR1"),

	/** 元素指定器官. */
	ELEMENT_DESIGNATE_ORGAN("21_006", "元素指定器官", 2, "/home/da/analysis/vocab/element_designate_organ.txt", "CHAR1"),

	/** 元素对应标签. */
	ELEMENT_LABEL("21_007", "元素对应标签", 2, "/home/da/pattern_recognition/dict/de_class_quantize.txt", "CHAR1"),

	/** 元素t量化. */
	ELEMENT_T_QUANTIZATION("21_008", "元素t量化", 2, "/home/da/analysis/vocab/element_t_quantization.txt", "CHAR1"),

	/** 现病史元素分类. */
	ELEMENT_XBS_SOURCE("21_009", "现病史元素分类", 1, "hive_element_xbs_source", "CHAR1"),

	/** 元素词语及正误. */
	ELEMENT_VOCAB_PROP_FLAG("21_010", "元素词语及正误", 2, "/home/da/analysis/vocab/element/all.txt", "TAB"),

	/** 元素对应标签2. */
	ELEMENT_LABEL2("21_011", "元素对应标签2", 2, "/home/da/pattern_data/de_class_word.txt", "TAB"),

	/** 元素对应标签2-HIVE. */
	ELEMENT_LABEL2_HIVE("21_012", "元素对应标签2-HIVE", 2, "de_class_word", "TAB"),

	/** 原因词分类性别年龄校验. */
	ELEMENT_REASON_CLASS_SEX_AGE("21_013", "原因词分类性别年龄校验", 1, "t_xl_element_reason_class_sex_age", "CHAR1"),

	/** 元素器官上下级. */
	ELEMENT_CLASSIFY("21_014", "元素器官上下级", 2, "/home/da/pattern_recognition/dict/organ_hierarchy.txt", "TAB"),

	/** 原子症状正误. */
	ATOM_SYMPTOM("22_001", "原子症状正误", 1, "bas_vocab_atom_symptom", "CHAR1"),

	/** 症状对应原子症状关系表. */
	ATOM_SYMPTOM_RELATION("22_002", "症状对应原子症状关系表", 1, "bas_vocab_symptom_atom", "CHAR1"),

	/** 症状标准词及其对应二元组关系. */
	DYAD_SYMPTOM_RELATION_FILE("24_002", "症状标准词及其对应二元组关系-文件", 2, "/home/da/pattern_data/hive_symptom_dyad_std.txt", ""),

	/** 二元组p+p是否可展现. */
	DYAD_P_P_DISPLAY_FLAG("24_003", "二元组p+p是否可展现", 2, "/home/da/pattern_recognition/dict/p_p_reveal.txt", "TAB"),

	/** 二元组判定规则. */
	DYAD_RULE("24_004", "二元组判定规则", 2, "/home/da/analysis/vocab/rule/", ""),

	/** 症状标准词及其对应二元组关系-HIVE. */
	DYAD_SYMPTOM_RELATION_HIVE("24_005", "症状标准词及其对应二元组关系-HIVE", 1, "hive_symptom_dyad_std", ""),

	/** 二元组中正确的P+P导出. */
	DYAD_P_P("24_007", "二元组中正确的P+P导出", 2, "/home/da/pattern_recognition/dict/p_p.txt", "TAB"),

	/** 症状黑名单. */
	SYMPTOM_BLACKLIST("29_001", "症状黑名单", 1, "mis_symptom", "TAB"),

	/** 症状表. */
	SYMPTOM_DIMENSION("29_002", "症状表", 1, "bas_vocab_symptom", "CHAR1"),

	/** 症状展示词数据. */
	SYMPTOM_REVEAL("29_003", "症状展示词数据", 2, "/home/da/pattern_data/symptom_reveal_std_status.txt", "TAB"),

	/** 症状展示词过滤-根据词组. */
	SYMPTOM_REVEAL_FILTER1("29_004", "症状展示词过滤-根据词组", 2, "/home/da/pattern_data/symptom/filtered/symptom_array_filtered_data_", ""),

	/** 症状展示词过滤-根据是否已标记. */
	SYMPTOM_REVEAL_FILTER2("29_005", "症状展示词过滤-根据是否已标记", 2, "/home/da/pattern_data/symptom/filtered/labeled_filtered_data_", ""),

	/** 症状展示词黑名单. */
	SYMPTOM_REVEAL_FILTER_BLACKLIST("29_006", "症状展示词黑名单", 1, "symptom_reveal_black", "TAB"),

	/** 大白话同义词. */
	SYNONYM_SLANG("1_001", "大白话同义词", 2, "/home/da/pattern_recognition/dict/synonym/slang.txt", "TAB"),

	/** 搜索词近义词. */
	HOMOIONYM_SEARCH("27_001", "搜索词近义词", 1, "bas_homoionym_search_terms_migrate", "CHAR1"),

	/** 疾病紧急状态. */
	DISEASE_ACUTE("25_001", "疾病紧急状态", 1, "acute_severe", "TAB"),

	/** 疾病检查类别. */
	DISEASE_EXAMINATION_CATEGORY("25_002", "疾病检查类别", 2, "/home/da/pattern_recognition/dict/index_cal/icd_unrelated.txt", "TAB"),

	/** 疾病性别年龄黑名单. */
	DISEASE_SEX_AGE_BLACKLIST("25_003", "疾病性别年龄黑名单", 1, "t_xl_disease_sex_age", "TAB"),

	/** 疾病对应一级. */
	DISEASE_CATEGORY("25_005", "疾病对应一级", 1, "hive_icd_disease_category", "CHAR1"),

	/** 疾病对应图片. */
	DISEASE_IMAGE("25_006", "疾病对应图片", 1, "disease_mapping_photo", "TAB"),

	/** 疾病科室黑名单. */
	DISEASE_SECTION_BLACKLIST("25_007", "疾病科室黑名单", 2, "/home/da/pattern_data/disease_ks_age_sex_check.txt", "TAB"),

	/** 疾病科室知识库. */
	DISEASE_SECTION_REPOSITORY("25_008", "疾病科室知识库", 2, "/home/da/pattern_data/disease_ks_repository.txt", "TAB"),

	/** 疾病症状黑名单. */
	DISEASE_SYMPTOM_BLACKLIST("25_009", "疾病症状黑名单", 2, "/home/da/pattern_recognition/dict/black_list.txt", "TAB"),

	/** 疾病症状白名单. */
	DISEASE_SYMPTOM_WHITELIST("25_010", "疾病症状白名单", 2, "/home/da/pattern_recognition/dict/white_list.txt", "TAB"),

	/** 疾病与os对应正误. */
	DISEASE_ELEMENT_CHECK("25_011", "疾病与os对应正误", 2, "/home/da/pattern_recognition/dict/disease_element_kb.txt", "TAB"),

	/** 高歌医生疾病对应关系. */
	DISEASE_GAOGE("25_012", "高歌医生疾病对应关系", 1, "di_gaoge", "TAB"),

	/** 年龄性别月份疾病. */
	DISEASE_AGE_SEX_MONTH("25_013", "年龄性别月份疾病", 1, "age_sex_month_diease", "TAB"),

	/** 疾病与季节天气. */
	DISEASE_SEASON_WEATHER("25_014", "疾病与季节天气", 1, "season_weather", "TAB"),

	/** 疾病与天气. */
	DISEASE_WEATHER("25_015", "疾病与天气", 1, "weather_disease", "TAB"),

	/** 疾病对应医院. */
	DISEASE_HOSPITAL("25_016", "疾病对应医院", 1, "his_zyzd_zdms_translate", ""),

	/** 疾病对应医院-其他部分. */
	DISEASE_HOSPITAL_OTHER("25_019", "疾病对应医院-其他部分", 1, "his_zyzd_zdms_translate_other", ""),

	/** 疾病对应医院-其他部分. */
	DISEASE_EXTERNAL_TZ("25_020", "外部疾病数据-滕州", 2, "/home/da/pattern_data/xuhan/dataset/external_disease_tz.txt", "TAB"),

	/** 疾病指标黑名单. */
	DISEASE_INSPECTION_BLACKLIST("25_017", "疾病指标黑名单", 2, "/home/da/pattern_recognition/dict/index_cal/di_index_blacklist.txt", "TAB"),

	/** 疾病指标白名单. */
	DISEASE_INSPECTION_WHITELIST("25_018", "疾病指标白名单", 2, "/home/da/pattern_recognition/dict/index_cal/di_index_whitelist.txt", "TAB"),

	/** 疾病诊断描述对应疾病名 */
	DISEASE_ZDMS_DISEASE("25_021", " 疾病诊断描述对应疾病名", 1, "zdms_icd_name_translate", "TAB"),

	/** 科室性别年龄黑名单. */
	SECTION_SEX_AGE_BLACKLIST("102_001", "科室性别年龄黑名单", 1, "t_xl_ks_sex_age", "TAB"),

	/** 科室黑名单. */
	SECTION_DISEASE_BLACKLIST("102_002", "科室黑名单", 1, "blacklist_di_ks", "TAB"),

	/** 国家标准科室对应表-文件. */
	SECTION_CODE_FILE("102_003", "国家标准科室对应表-文件", 2, "/home/da/pattern_recognition/dict/ks_standard_witspring.txt", "TAB"),

	/** 医院科室对应表. */
	SECTION_HOSPITAL("102_004", "医院科室对应表", 2, "/home/da/pattern_recognition/dict/hospital/hos_info_3.txt", "TAB"),

	/** 医院对应科室不在维表中的科室. */
	SECTION_HOSPITAL_ERR("102_005", "医院对应科室不在维表中的科室", 2, "/home/da/pattern_recognition/dict/hospital/hos_ks_error.txt", "TAB"),

	/** 科室图片. */
	SECTION_IMAGE("102_006", "科室图片", 1, "ks_class_image", "TAB"),

	/** 科室同义词 - HIVE. */
	SECTION_SYNONYM_HIVE("102_007", "科室同义词-HIVE", 1, "lk_cjks_dict", "TAB"),

	/** 国家标准科室对应表-HIVE. */
	SECTION_CODE_HIVE("102_008", "国家标准科室对应表-HIVE", 1, "ks_code", "TAB"),

	/** 科室是否参与计算. */
	SECTION_DNN_DISABLE("102_009", "科室是否参与计算", 1, "t_wz_ks_std_list", "TAB"),

	/** 科室同义词 - FILE. */
	SECTION_SYNONYM_FILE("102_010", "科室同义词-FILE", 2, "/home/da/pattern_recognition/dict/hospital/lk_cjks_dict.txt", "TAB"),

	/** 药品中的疾病分组. */
	MEDICINE_DISEASE_GROUP("32_001", "药品中的疾病分组", 1, "di_medicine_group", "TAB"),

	/** 药品分组名称. */
	MEDICINE_GROUP("32_002", "药品分组名称", 1, "medicine_group", "TAB"),

	/** 指标百科. */
	INSPECTION_INFO("26_001", "指标百科", 2, "/home/da/pattern_data/index_info.txt", "CHAR1"),

	/** 指标维表. */
	INSPECTION_DIMENSIOIN("26_002", "指标维表", 1, "jczb_dimension", "CHAR1"),

	/** 原始指标. */
	INSPECTION_ORIGINAL("26_003", "原始指标", 1, "t_wz_jczb_bgd_jydl", "TAB"),

	/** 检验大类. */
	INSPECTION_CLASS("26_004", "检验大类", 1, "jydl_dimension", "CHAR1"),

	/** 检验大类指标对应关系. */
	INSPECTION_CLASS_RELATION("26_005", "检验大类指标对应关系", 1, "jczb_jydl_dimension", "TAB"),

	/** 人体图器官. */
	BODY_ORGAN("103_001", "人体图器官", 2, "/home/da/pattern_recognition/human_body/organ_for_human_body.txt", "TAB"),

	/** 人体图器官HIVE. */
	BODY_ORGAN_HIVE("103_002", "人体图器官-HIVE", 1, "organ_for_human_body", "TAB"),

	/** 人体图器官症状. */
	BODY_ORGAN_SYMPTOM("103_003", "人体图器官症状", 2, "/home/da/pattern_recognition/human_body/human_body_o_symptom.txt", "TAB"),;

	private String code;

	private String desc;

	private int type;

	private String location;

	private String sep;

	private boolean dailyFlag;

	private MigrateCode(String code, String desc, int type, String location, String sep) {
		this.code = code;
		this.desc = desc;
		this.type = type;
		this.location = location;
		this.sep = sep;

		initDailyFlag(super.name());
	}

	// 初始化是否每日导出
	private void initDailyFlag(String name) {
		List<String> dailyList = new ArrayList<>();
		dailyList.add("HOMOIONYM_SEARCH");
		dailyList.add("ELEMENT_SPLIT");
		dailyList.add("DISEASE_CATEGORY");
		dailyList.add("ELEMENT_REASON_CLASS");
		dailyList.add("ELEMENT_CHECK");
		dailyList.add("ATOM_SYMPTOM");
		dailyList.add("ATOM_SYMPTOM_RELATION");
		dailyList.add("SYMPTOM_DIMENSION");
		dailyList.add("ELEMENT_XBS_SOURCE");
		dailyList.add("ELEMENT_SEX_AGE_BLACKLIST");
		dailyList.add("SECTION_SEX_AGE_BLACKLIST");
		dailyList.add("SECTION_IMAGE");
		dailyList.add("SECTION_SYNONYM_HIVE");
		dailyList.add("SECTION_SYNONYM_FILE");
		dailyList.add("SECTION_CODE_HIVE");
		dailyList.add("SECTION_DISEASE_BLACKLIST");
		dailyList.add("SECTION_DNN_DISABLE");
		dailyList.add("DISEASE_GAOGE");
		dailyList.add("DISEASE_IMAGE");
		dailyList.add("DISEASE_SEX_AGE_BLACKLIST");
		dailyList.add("DISEASE_ACUTE");
		dailyList.add("DISEASE_SEASON_WEATHER");
		dailyList.add("DISEASE_WEATHER");
		dailyList.add("DISEASE_AGE_SEX_MONTH");
		dailyList.add("MEDICINE_DISEASE_GROUP");
		dailyList.add("MEDICINE_GROUP");
		dailyList.add("SYMPTOM_BLACKLIST");
		dailyList.add("SYMPTOM_REVEAL_FILTER_BLACKLIST");
		dailyList.add("ELEMENT_SYNONYM");
		dailyList.add("DYAD_P_P_DISPLAY_FLAG");
		dailyList.add("ELEMENT_DESIGNATE_ORGAN");
		dailyList.add("ELEMENT_LABEL");
		dailyList.add("ELEMENT_T_QUANTIZATION");
		dailyList.add("SYNONYM_SLANG");
		dailyList.add("DISEASE_EXAMINATION_CATEGORY");
		dailyList.add("DISEASE_SECTION_BLACKLIST");
		dailyList.add("DISEASE_SECTION_REPOSITORY");
		dailyList.add("DISEASE_SYMPTOM_BLACKLIST");
		dailyList.add("DISEASE_SYMPTOM_WHITELIST");
		dailyList.add("DISEASE_ELEMENT_CHECK");
		dailyList.add("SYMPTOM_REVEAL");
		dailyList.add("SECTION_CODE_FILE");
		dailyList.add("ELEMENT_VOCAB_PROP_FLAG");
		dailyList.add("SECTION_HOSPITAL");
		dailyList.add("SECTION_HOSPITAL_ERR");
		dailyList.add("DYAD_RULE");
		dailyList.add("SLANG_NEW_TRAIN");
		dailyList.add("CT_NEW_TRAIN");
		dailyList.add("CT_NEW_TRAIN_BME");
		dailyList.add("ZS_SECOND_NEW_TRAIN");
		dailyList.add("ZS_SECOND_NEW_TRAIN_BME");
		dailyList.add("ZS_NEW_TRAIN");
		dailyList.add("ZS_NEW_TRAIN_BME");
		dailyList.add("DISEASE_INSPECTION_BLACKLIST");
		dailyList.add("DISEASE_INSPECTION_WHITELIST");
		dailyList.add("DISEASE_EXTERNAL_TZ");
		dailyList.add("DYAD_P_P");
		dailyList.add("ELEMENT_LABEL2");
		dailyList.add("ELEMENT_LABEL2_HIVE");
		dailyList.add("ELEMENT_REASON_CLASS_SEX_AGE");
		dailyList.add("DISEASE_ZDMS_DISEASE");
		dailyList.add("ELEMENT_CLASSIFY");

		dailyList.add("XBS_NEW_TRAIN_UNCLASSIFIED");
		dailyList.add("XBS_NEW_TRAIN_BME_UNCLASSIFIED");
		dailyList.add("XBS_NEW_TRAIN_FAMILY_HISTORY");
		dailyList.add("XBS_NEW_TRAIN_BME_FAMILY_HISTORY");
		dailyList.add("XBS_NEW_TRAIN_PERSONAL_HISTORY");
		dailyList.add("XBS_NEW_TRAIN_BME_PERSONAL_HISTORY");
		dailyList.add("XBS_NEW_TRAIN_SMALL_PAST_HISTORY");
		dailyList.add("XBS_NEW_TRAIN_BME_SMALL_PAST_HISTORY");
		dailyList.add("XBS_NEW_TRAIN_PHYSICAL_CHECK");
		dailyList.add("XBS_NEW_TRAIN_BME_PHYSICAL_CHECK");
		dailyList.add("XBS_NEW_TRAIN_IMAGEOLOGY_INFO");
		dailyList.add("XBS_NEW_TRAIN_BME_IMAGEOLOGY_INFO");
		dailyList.add("XBS_NEW_TRAIN_TREATMENT");
		dailyList.add("XBS_NEW_TRAIN_BME_TREATMENT");
		dailyList.add("XBS_NEW_TRAIN_DOCTOR_ADVICE_INFORMATION");
		dailyList.add("XBS_NEW_TRAIN_BME_DOCTOR_ADVICE_INFORMATION");
		dailyList.add("XBS_NEW_TRAIN_LABORATORY_EXAMINATION");
		dailyList.add("XBS_NEW_TRAIN_BME_LABORATORY_EXAMINATION");
		dailyList.add("XBS_NEW_TRAIN_AUXILIARY_EXAMINATION");
		dailyList.add("XBS_NEW_TRAIN_BME_AUXILIARY_EXAMINATION");
		dailyList.add("XBS_NEW_TRAIN_SYMPTOMS_DESCRIBED");
		dailyList.add("XBS_NEW_TRAIN_BME_SYMPTOMS_DESCRIBED");

		if (dailyList.contains(name)) {
			this.dailyFlag = true;
		} else {
			this.dailyFlag = false;
		}
	}

	public String getDesc() {
		return desc;
	}

	public String getCode() {
		return code;
	}

	public int getType() {
		return type;
	}

	public String getLocation() {
		return location;
	}

	public Boolean getDailyFlag() {
		return dailyFlag;
	}

	public String getSep() {
		return sep;
	}

	public ModuleID getModuleID() {
		String id = code.split("_")[0];

		for (ModuleID mid : ModuleID.values()) {
			if (mid.getId().equals(id)) {
				return mid;
			}
		}

		return null;
	}
}
